package se.webbzon.boltzmann.game.object.pickup;

import se.webbzon.oschi01.friendly.Friendly;
import se.webbzon.oschi01.worldeditor.WorldStaticObjectDeflation;

public class RestorationDeflation extends WorldStaticObjectDeflation {
	
	/*============================================================
	Constructors
	============================================================*/
	
	public RestorationDeflation(int deflationProperties) {
		super(deflationProperties, null);
	}
	
	public RestorationDeflation(int deflationProperties, Restoration restoration) {
		super(deflationProperties, null, restoration);
	}

	/*============================================================
	Public Methods
	============================================================*/
	
	/** Creates a new restoration instance from this restoration deflation. **/
	@Friendly Restoration makeRestoration() {
		Restoration restoration = new Restoration();
		restoration.setPosition(getX(), getY(), getZ());
		return restoration;
	}
	
}
